package com.epam.application;

import java.util.ArrayList;
import java.util.List;

import com.epam.mainmenu.*;
import com.epam.menu.*;


public class Application {
	
	public static void main(String[] args) {
		List<MenuItem> listOfMenuItems = new ArrayList<MenuItem>();
		listOfMenuItems.add(new CreateNecklace());
		listOfMenuItems.add(new CompositionNecklace());
		listOfMenuItems.add(new WeightNecklace());
		listOfMenuItems.add(new PriseNecklace());
		listOfMenuItems.add(new SortingNecklace());
		listOfMenuItems.add(new SearchNecklace());
		listOfMenuItems.add(new Exit());

		Menu menu = new Menu(listOfMenuItems);
		
		menu.run();
	}

}
